from abc import ABCMeta, abstractmethod

from py.uitls.Logger import myLogger


class MsgHandlerAbc(metaclass=ABCMeta):  # 抽象类（接口类）

    @abstractmethod
    def handle(self, title, content):
        myLogger.info("title:%s, content:%s" % (title, content))
        return "title", "msg", "file"
